<div class="modal-header">
  <h4 class="modal-title" id="gridSystemModalLabel">编辑自定义字段</h4>
</div>
<div class="modal-body">
  <div class="container-fluid">
    <div class="form-group">
      <input type="hidden" ng-model="id">
      <label for="recipient-name" class="control-label">显示名称<b class="text-danger">*</b></label>
      <input type="text" class="form-control" ng-model="name" maxlength="6">
    </div>
    <div class="form-group">
      <label for="recipient-name" class="control-label">备注</label>
      <input type="text" class="form-control" ng-model="remarks">
    </div>
    <div class="form-group">
      <label for="recipient-name" class="control-label">类型<b class="text-danger">*</b></label>
		<select class="form-control" ng-model="type">
			<option value="text">文本</option>
			<option value="list">列表</option>
			<option value="date">日期</option>
			<option value="file">文件</option>
		</select>
      </div>
      <div class="form-group">
        <label for="recipient-name" class="control-label">显示状态<b class="text-danger">*</b></label>
		<select class="form-control" ng-model="display">
			<option value="hidden">不显示</option>
			<option value="show">显示</option>
			<option value="require">显示且必须</option>
		</select>
    </div>
    <div class="form-group" ng-show="type=='list'">
      <label for="message-text" class="control-label">列表值<b class="text-danger">*</b></label>
      <textarea class="form-control" placeholder="一行代表一个选项值" ng-model="selectOptions"></textarea>
    </div>
  </div>
</div>
<div class="modal-footer">
  <button type="button" class="btn btn-primary" ng-click="editItemSave(id, name, remarks, type, display, selectOptions)">保存</button>
</div>